<ion-tabs #tabs class="tabs" (swipe)="onSwipe($event)" (ionTabsDidChange)="tabAfterChange()">
  <ion-tab-bar slot="bottom">
    <ion-tab-button *ngFor="let data of items" class="cust-tab-button" [tab]="data.name">
      <ion-icon [name]="data.icon"></ion-icon>
      <ion-label>{{data.text}}</ion-label>
      <ion-badge *ngIf="!data.nohup" class="cust-badge">{{data.count==0?'':(data.count>99?'99+':data.count)}}</ion-badge>
    </ion-tab-button>
  </ion-tab-bar>
</ion-tabs>